<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>登陆页面</title>
		<base href="<%=basePath%>">

		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	</head>

	<body bgcolor="#E3E3E3">
		<form action="MainServlet" method="post">
			<table border="1" bgcolor="#00ff00" align="center" width="274"
				height="165">
				<tbody>
					<tr>
						<td colspan="2" align="center">
							&nbsp;用户登陆
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;登录名：
						</td>
						<td>
							&nbsp;
							<input type="text" size="20" name="username">
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;密码：
							<br>
						</td>
						<td>
							&nbsp;
							<input type="password" maxlength="" name="pwd" size="21">
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;
							<input type="submit" value="登陆">
						</td>
						<td>
							&nbsp;
							<input type="reset" value="重置">
						</td>
					</tr>
				</tbody>
			</table>
		</form>
		<center>
		如果没有注册单击
		<a href="register.jsp">这里</a>注册！
		</center>
	</body>
</html>
